//
//  LGSinaAccount.m
//  ShareDemo
//
//  Created by Li Zhiping on 13-11-20.
//  Copyright (c) 2013年 Li Zhiping. All rights reserved.
//

#import "LGSinaAccount.h"

@implementation LGSinaAccount

#pragma mark - NSCoding

- (void)encodeWithCoder:(NSCoder *)aCoder{
    [aCoder encodeObject:self.accessToken forKey:@"accessToken"];
    [aCoder encodeObject:self.authorUid forKey:@"authorUid"];
    
}

- (id)initWithCoder:(NSCoder *)aDecoder{
    if (self = [super init]) {
        self.accessToken = [aDecoder decodeObjectForKey:@"accessToken"];
        self.authorUid = [aDecoder decodeObjectForKey:@"authorUid"];
    }
    return self;
}

@end
